Repository navigation
feat(progress): add Korean localization; bump to 1.18.0 - #154
Conversation
|
Thank you for the Korean translation, @junnnie8. It reads well, and the typed tables in I pushed two commits to your branch so it merges cleanly:
Two optional wording suggestions from review, for you to judge:
Typecheck, all 315 tests, lint, format and |
|
Korean is out in Progress 1.19.0 on npm. Thank you again, @junnnie8, for the translation and for covering it in the tests. The Paseo plugin store still lists an older version. Until it catches up, you can install 1.19.0 by running |
|
Thanks for merging main in and for filling in the six new strings! I checked the Korean in 2aa083a and it all reads naturally, so I left it as is. I took both wording suggestions in 4c1b389:
|
Why
Progress ships in English and Simplified Chinese. Korean users see English labels, and System falls back to English on Korean devices.
What changed
client/locales/ko.ts: a full Korean catalog, same keys and placeholders asen.ts. Korean has no plural forms, so counts read like질문 3개and3건 완료.client/i18n.ts:koadded toProgressLocale; System picks it on Korean devices.shared/settings.ts,client/settings.tsx:koadded to the language list, shown as한국어.client/i18n.test.ts: covers Korean alongside the existing locales.Scope
Labels only. Agent-written text, the
paseo-progresscommand and copied replies stay as before.Verification
paseo plugin lsshows it running).npm test: 297 of 298 pass. The one failure,outside git it works the same(server/progress.test.ts:2252), fails the same way onmain(7bf6dc4) on this machine, so it isn't from this change.npm run check:install(npm 11 and 12) pass.Security review: No release blockers found.
Security review report (Claude Opus)
Security review: @stevecastaneda/paseo-progress@1.19.0
I found no release blockers in 1.19.0. Everything below comes from reading the source. I didn't run anything, because I only had read and search tools, so the new tests in
client/i18n.test.tswere not run.What changed and what it reaches
client/locales/ko.ts(new). This file is only text the panel shows. It is read throughmessagesFor()and rendered as plain React Native<Text>or toast text.import(,eval,Function(). Nothing matched.en.ts:outsideWhytoolsNote, which still says turning on Paseo tools lets agents start, message and stop other agentswhenWorkingChoices.now, which still says it may interrupt the turnlauncherMissingandskillMissing, which still show the install pathopenRefusedsavePromptis the only string copied to the clipboard for an agent (client/preview.tsx:644). The Korean version says the same as the English one ("save screenshots and reports inside the worktree"), with no extra instructions.client/send-answer.tsuses the catalog only for toasts.client/i18n.ts:20-38.resolveLocaleonly ever returns"en","ko"or"zh-CN".useSettings(displaySettings)when its status isready, and from"system"otherwise (client/language.tsx:8). Zod checks it against a fixed list, and it is a host setting, which the attacker doesn't control.Intl, not from the repo or an agent.MESSAGES[locale]can't be called with a key that isn't in the table, such as__proto__orundefined.shared/settings.ts:24."ko"was added to the fixedz.enum. The settings schema is still a closed set, and it is host-scoped.client/settings.tsx:70-79. This is a fixed table of labels shown in the language picker. It has no input from the repo or agents.README.md,package.json,package-lock.json. These only change the docs and the version number. No dependencies,filesentries or lifecycle scripts changed.Places in the shipped plugin that touch files, programs, HTML or the network
None of the changed files reach any of these. Each line says why it is or isn't safe.
server/system.ts:25runProgram(execFile): its working folder defaults toLAUNCH_FOLDER, so on Windows a program committed in the worktree isn't found first. Unchanged in 1.19.0.server/system.ts:29runCommandLine(exec through cmd.exe): sameLAUNCH_FOLDERdefault, and it is only used for Windows.cmdprograms. Unchanged.server/system.ts:42-110writes, appends, renames, creates folders and deletes (writeFileIn,appendFileIn,createFolderIn,removeIn,removeLinkIn): each goes throughplaceIn, which walks the path one step at a time under a trusted base folder. Unchanged.server/system.ts:33openToRead: opens files read-only. Unchanged.server/open.ts: reads files and opens them on the host, with a realpath check that keeps them inside the worktree, and only for media, PDF and text types (theopenRefusedpath). Unchanged.server/progress-file.ts,server/store.ts,server/lock.ts: read and stat the progress file and history after resolving real paths. Unchanged.server/launcher.ts,server/skill.ts: read and check the paseo-progress command and skill files, and won't overwrite a file the plugin didn't make. Unchanged; only the Korean labels for these notices are new.server/answers.ts,server/question-mode.ts,server/whats-new.ts: read the plugin's own state, settings and changelog. The changelog is parsed into plain text, not HTML. Unchanged.client/attachments.tsx:69-70: when an agent's attachment is a URL, clicking it opens it in Paseo's browser tab or withopenExternalUrl. That is a click on a link the user can see, and it doesn't run anything. Unchanged.client/preview.tsx,client/pdf.tsx,client/video.tsx,shared/markdown.ts,shared/blocks.ts: previews only files inside the worktree, served by the server, and renders Markdown into native components. I found noinnerHTMLorWebViewHTML injection in the plugin code. Unchanged; the Korean strings appear here only as plain labels.client/questions.tsx,client/preview.tsx:644: copy to the clipboard. What they copy is fixed text or text the user picked, and the Korean versions mean the same as the English ones.client/locales/ko.ts,client/i18n.ts,client/settings.tsx,shared/settings.ts(the changed code): no files, programs, HTML or network. They are fixed text and a closed set of settings values.No release blockers found.